const http = require('01http_url/http')
const url = require('01http_url/url')

http.createServer((req, res) => {


  res.writeHead(200, {'Content-Type':'text/plain;charset=utf-8'})
  if (req.url !== '/favicon.ico') {
    console.log(req.url)
    let result = url.parse(req.url, true)
    console.log(result.query.aid)
  }
  res.write(req.url)
  res.end()
}).listen(8081)